import com.dmotiko.general.*
import mx.effects.Tween;
import mx.transitions.*
import mx.transitions.easing.*

class Dmologo
extends BaseClip {
	
	var tFade:Tween;
	
	private function initClip():Void {
		this._alpha = 0;
		tFade = new Tween(this, "_alpha", Regular.easeOut, this._alpha, 35, 0.5, true);
	}
	
	public function onRollOver() {
		if ( tFade ) tFade.stop();
		tFade = new Tween(this, "_alpha", Regular.easeOut, this._alpha, 70, 0.5, true);
	}
	public function onRollOut() {
		if ( tFade ) tFade.stop();
		tFade = new Tween(this, "_alpha", Regular.easeOut, this._alpha, 35, 0.5, true);
	}
	public function onRelease() {
		this.getURL("http://www.d-motiko.com.ar", "_blank");
	}
	
}